Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2704 backward accesses #2814

Merged
merged 16 commits into from
Jan 13, 2025
Merged

2704 backward accesses #2814

merged 16 commits into from
Jan 13, 2025

Conversation

LonelyCat124
Copy link
Collaborator

Bugs fixed, initial implementation - need to add some other parts to it.

Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.88%. Comparing base (b051810) to head (e8273f0).
Report is 17 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #2814    +/-   ##
========================================
  Coverage   99.88%   99.88%            
========================================
  Files         359      359            
  Lines       50681    50833   +152     
========================================
+ Hits        50625    50777   +152     
  Misses         56       56            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LonelyCat124 LonelyCat124 marked this pull request as ready for review December 3, 2024 15:34
@LonelyCat124
Copy link
Collaborator Author

@sergisiso This is ready for a first look now I think

Copy link
Collaborator

@sergisiso sergisiso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LonelyCat124 This is in a good shape, all the comments are minor. Some of the logic is quite complicated but since this is self-contained and there are a good amount of tests I am happy with it.

src/psyclone/psyir/tools/definition_use_chains.py Outdated Show resolved Hide resolved
src/psyclone/psyir/tools/definition_use_chains.py Outdated Show resolved Hide resolved
src/psyclone/psyir/tools/definition_use_chains.py Outdated Show resolved Hide resolved
src/psyclone/psyir/tools/definition_use_chains.py Outdated Show resolved Hide resolved
src/psyclone/psyir/tools/definition_use_chains.py Outdated Show resolved Hide resolved
src/psyclone/psyir/tools/definition_use_chains.py Outdated Show resolved Hide resolved
src/psyclone/psyir/tools/definition_use_chains.py Outdated Show resolved Hide resolved
src/psyclone/tests/psyir/nodes/reference_test.py Outdated Show resolved Hide resolved
@LonelyCat124
Copy link
Collaborator Author

@sergisiso should be ready for another look now I think

Copy link
Collaborator

@sergisiso sergisiso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LonelyCat124 All changes have been addressed. This has a self-contained implementation with thorough tests, the remaining doubts about the functionality will be better addressed when we have practical examples of its usage.

I removed some leftover prints from the tests and update a couple of lines from the documentation to mention that backwards dependencies are now supported.

This is ready to merge.

@sergisiso sergisiso merged commit 2307ac7 into master Jan 13, 2025
13 checks passed
@sergisiso sergisiso deleted the 2704_backward_accesses branch January 13, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants